Discussions
Activity
Sign In
How it works
Ruud de Vries
Activity
Discussions
2
Comments
18
EBook Publishing Issue
git clone git://repo.or.cz/objavi2.git
Comment by
Ruud de Vries
July 2012
permalink
EBook Publishing Issue
I found the solution! I changed in objavi/config.py KEEP_TEMP_FILES = True TMPDIR = 'tmp' to KEEP_TEMP_FILES = True TMPDIR = 'htdocs/tmp' and then: mv tmp htdocs/
Comment by
Ruud de Vries
July 2012
permalink
EBook Publishing Issue
Can somebody post the log of a working objavi installation? I would like to know what the log shows where /bin/wkhtmltopdf Is used and where I'm getting the "missing_path".
Comment by
Ruud de Vries
July 2012
permalink
EBook Publishing Issue
I see that this part of code in objavi/cgi_utils.py produces the "missing_path": _htdocs = os.path.abspath(config.HTDOCS) def path2url(path, default='/missing_path?%(path)s', full=False): """convert local file …
Comment by
Ruud de Vries
July 2012
permalink
EBook Publishing Issue
Nice that you got it working. I still have the missing_path problem. I also see this in the log: ******* got message "wait_for_xvfb" /bin/wkhtmltopdf -q --page-width 210.0 --page-height 297.0 -T 16.1611111111 -R 19.9619444444 -B 18.101388…
Comment by
Ruud de Vries
July 2012
permalink
EBook Publishing Issue
@ Vibol Seng There should be a log in objavi2/log/objavi.log@ Boštjan Jerko Config attached.
Comment by
Ruud de Vries
July 2012
permalink
EBook Publishing Issue
Well I feel a bit stupid... forgot to install this, that's what you get for working this late ;) easy_install lxml apt-get install pdfedit xvfb pdftk psutils poppler-utils msttcorefonts So, I'm able to publish to PDF, but the conten…
Comment by
Ruud de Vries
July 2012
permalink
EBook Publishing Issue
Here is the diff of settings.py from Booktype: diff settings.py /home/rdv/Booki/lib/booki/settings.py.original 8c8,9 < ADMINS = (('Admin', 'admin@test.nl'), --- > ADMINS = ( > # ('Your Name', 'your_ema…
Comment by
Ruud de Vries
July 2012
permalink
EBook Publishing Issue
I don not exactly know which links you refer to, but this is the diff of my config.py versus the orignal: diff config.py config.py.orig 36c36 < TMPDIR = 'tmp' --- > TMPDIR = 'htdocs/tmp' 51c51 < WKHTMLTOPDF = '/bin/…
Comment by
Ruud de Vries
July 2012
permalink
EBook Publishing Issue
And that was solved with (found the the fix in google cache): cd /home/rdv/objavi2/ git clone git://github.com/douglasbagnall/epub.git iarchive And again a new problem: cat log/objavi.log Traceback (most recent call last): File "/home/rdv/…
Comment by
Ruud de Vries
July 2012
permalink
EBook Publishing Issue
Well I managed to solve this error, it was easy. My Booki source is found here: /home/rdv/Booki Objavi2 here: /home/rdv/objavi2 What I did to solve the "ImportError: No module named booki.bookizip" problem is: ln -s /home/rdv/Booki/lib/bo…
Comment by
Ruud de Vries
July 2012
permalink
EBook Publishing Issue
I'm stuck now at the same problem my error log shows:[Tue Jul 03 20:59:05 2012] [notice] caught SIGTERM, shutting down [Tue Jul 03 20:59:06 2012] [warn] mod_wsgi: Compiled for Python/2.7.2+. [Tue Jul 03 20:59:06 2012] [warn] mod_wsgi: Runtime …
Comment by
Ruud de Vries
July 2012
permalink
Pictures/Images and text are not published to PDF
Thanks Adam, my collegue has contacted you
Comment by
Ruud de Vries
June 2012
permalink
Pictures/Images and text are not published to PDF
Just to be sure: Publishing to a Book (PDF) to http://objavi.booki.cc works, I can download the PDF, but the PDF only has the name of the book in it and empty pages, the chapters, text and pictures are not included in the PDF.
Comment by
Ruud de Vries
June 2012
permalink
Pictures/Images and text are not published to PDF
Thank you adam. How do I register my booktype with your objavi server? I couldn't find a howto with detailed instructions on how to install objavi and the required software.
Comment by
Ruud de Vries
June 2012
permalink
Can't create book
Hi Aleksander, thanks! Your solution worked. For other people with the same problem: This is the comment from Aleksander that I got: You can go with your super user account (root in your case) to http://testsite.com/admin/ and create at least one …
Comment by
Ruud de Vries
March 2012
permalink
Can't create book
Hi Aleksander, the installation is running on the internet, I will send you a PM with the details. I'm running it with mod_wsgi, but I also have django-admin runserver running.
Comment by
Ruud de Vries
March 2012
permalink
Can't create book
django-admin.py runserver and redis-server are both running as the "test" user.
Comment by
Ruud de Vries
March 2012
permalink
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Stop following
About
Username
Ruud de Vries
Joined
March 2012
Visits
0
Last Active
July 2012
Roles
Member
Posts
20
Friends
Followed by 1 person
My Badges
Total Points: 70
Top Posters
Albert FR
1978
Martin Konecny
1860
Andrey Podshivalov
1526
Voisses Tech
1423
John Chewter
899
Daniel James
844
Roger Wilco
784
hoerich
627
Paul Baranowski
389
Cliff Wang
339